package org.jsbd.boss.service;

import java.util.List;
import java.util.Map;

import org.jsbd.boss.common.DataGridModel;
import org.jsbd.boss.domian.BookMark;
import org.jsbd.boss.domian.BookMarkFailCount;

public interface IBookMarkService {

	void save(BookMark bookMark);
	
	void save(List<BookMark> list);
	
	int update(BookMark bookMark);

	BookMark get(BookMark bookMark);
		
	BookMark getById(Integer id);

	List<BookMark> getList(BookMark bookMark);

	Map<String, Object> getListPage(DataGridModel page, BookMark bookMark);
	
	void delete(List<Integer> ids);
	
	String getApkNameByMark(String mark);
	
	Map<String, Object> getFailCountListPage(DataGridModel page, BookMarkFailCount bookMarkFailCount);
	
	List<BookMarkFailCount> getFailCountList(BookMarkFailCount bookMarkFailCount);
}
